<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/sys/memo.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryMemoForm');
			queryMemo_memo(page);
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryRoleForm">
<table class="search_term_table">
	<tr><th style="width:60px;">角色名称</th>
		<td style="width:200px;"><input class="form-control" type="text" name="name" style="width:150px;"/></td>
		<th style="width:60px;">所属机构</th>
		<td style="width:200px;">
			<div class="input-group">
				<span class="btn-group">
					<input  id="on" class="form-control" type="text" size="16"  name="on" readonly="readonly" style="width:150px;"/>
					<input id="oc" type="hidden" name="oc" style="width:150px;" class="form-control"/>
					<button class="btn btn-primary" onclick="javascript: selectOrgan('oc','on');" title="选择该用户所属机构" type="button"><i class="icon-search"></i></button>
					<button class="btn btn-danger" onclick="javascript: $('#oc').val(''); $('#on').val('');" title="去除机构查询条件" type="button"><i class="icon-remove"></i></button>
				</span>
			</div>
		</td>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td style="text-align:right;">
		<button class="btn btn-info" onclick="javascript:queryRole(); return false;"><i class="icon-search"></i> 查 询 </button>
		<button class="btn btn-success" onclick="javascript:sys_load_handle('organRole-edit'); return false;"><i class="icon-file"></i> 添加角色</button>
		</td>
	</tr>
</table>
</form>
<div id="roleResultList"></div>
